package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.model.SysRoleAuth;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleAuthMapper extends Mapper<SysRoleAuth> {
    /**
     * 获取角色列表
     * @param partyId 关联ID
     * @return
     */
    List<SysRoleAuth> getRoleAuthList(@Param("partyId") int partyId, @Param("partyType") int partyType);
}